|
|
|
| Airline | Month | Passengers | | LMN | 2 | 2135 | | LMN | 3 | 5221 | | LMN | 4 | 2153 | | LMN | 5 | 2154 | | LMN | 6 | 5125 | | LMN | 7 | 2135 | | LMN | 8 | 5465 | | LMN | 9 | 5555 | | LMN | 10 | 2536 | | LMN | 11 | 2153 | | LMN | 12 | 2168 | | XYZ | 1 | 10251 | | XYZ | 2 | 12123 | | XYZ | 3 | 10258 | | XYZ | 4 | 12000 | | XYZ | 5 | 21564 | | XYZ | 6 | 21321 | | XYZ | 7 | 14564 | | XYZ | 8 | 12365 | | XYZ | 9 | 21356 | | XYZ | 10 | 21357 | | XYZ | 11 | 21321 | | XYZ | 12 | 12365 |
|
|
|
|
|
|
4. Start a new Visual Basic project that uses the LIBGRAPH.BAS module you created today. Build a form and add three command buttons: cmdPie, cmdLine, and cmdBar. |
|
|
|
|
|
|
|
|
5. Display the following graphs when each button is pressed: |
|
|
|
|
|
|
|
|
cmdPie: Displays a 3D pie chart that shows comparative activity for the first month. |
|
|
|
|
|
|
|
|
cmdLine: Displays a line graph that shows total passenger activity by month. Include Passengers as the title on the vertical axis and Month as the title for the horizontal axis. |
|
|
|
|
|
|
|
|
cmdBar: Displays a 3D bar graph for the activity of ABC Airlines for the entire year. |
|
|
|
|
|
|
|
|
6. Examine the charts you built. Notice how much easier it is to ascertain trends from these graphs than it is from the data entry table in Exercise 3. |
|
|
|
|
|